<script setup lang="ts">
import Welcome from '@/views/home/v1.0/components/welcome.vue'
import UserInfo from './components/user.vue'
import { useAuthStore } from '@/stores/auth'
import { storeToRefs } from 'pinia'
const { isLoggedIn } = storeToRefs(useAuthStore())
</script>

<template>
  <div class="base-card home-container">
    <UserInfo v-if="isLoggedIn" />
    <Welcome v-else />
  </div>
</template>

<style scoped lang="scss"></style>
